package cn.itcast.dao;

import cn.itcast.domain.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentDao{
    @Select("SELECT s.id,s.name,s.age FROM student s WHERE cid=#{cid}")
    List<Student> findStudentByCid(int cid);
}
